//
//  TitleTabView.h
//  WeiBao
//
//  Created by macbook on 16/5/16.
//  Copyright © 2016年 ucox. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HMSegmented;

@interface TitleTabView : UIView<UIScrollViewDelegate,UICollectionViewDelegate,UICollectionViewDataSource>

@property(nonatomic)HMSegmented *segment;

@property(nonatomic)UICollectionView *mainCollectionView;

@property(nonatomic)NSArray *controllersArray;

-(instancetype)initWithFrame:(CGRect)frame Titles:(NSArray *)titles Controllers:(NSArray *)controllers;

-(void)setCollectionViewScroll:(BOOL)isScroll;

-(void)setSectionTitles:(NSArray *)titles;

@end
